package com.wutong.eams.dto;

import com.wutong.eams.entity.Student;
import lombok.AllArgsConstructor;
import lombok.Data;

public class StudentManagerDTO {

    @Data
    @AllArgsConstructor
    public static class AddStudentDTO {
        private Student student;
    }

    @Data
    @AllArgsConstructor
    public static class UpdateStudentDTO {
        private Student student;
    }

    @Data
    @AllArgsConstructor
    public static class QueryStudentsByConditionDTO {
        private Integer classId;
        private String studentNo;
        private String keyword;
        private Integer pageNum;
        private Integer pageSize;
    }

    @Data
    @AllArgsConstructor
    public static class QueryAllStudentsWithPageDTO {
        private Integer pageNum;
        private Integer pageSize;
    }
}
